import request from '@/utils/request'

//统一字典下拉框查询
export function adminDict(params) {
    return request({
      url: `common/v1/adminDict`,
      method: 'get',
      params
    })
  }
//新增商户行业佣金管理
export function addIndustry(data) {
    return request({
      url: '/merchant/equity/card/industry/fee/v1',
      method: 'post',
      data
    })
}

//编辑商户行业佣金管理
export function editIndustry(data) {
    return request({
      url: '/merchant/equity/card/industry/fee/v1',
      method: 'put',
      data
    })
}

//
export function getList(params) {
    return request({
        url: `/merchant/equity/card/industry/fee/v1/list`,
        method: 'get',
        params
    })
}

//查询 商户行业佣金管理 详情
export function getDetail(id) {
    return request({
        url: `/merchant/equity/card/industry/fee/v1/detail/${id}`,
        method: 'get',
    })
}

//行业类型-new
export function shopTypeList(params) {
    return request({
      url: `/common/v1/shopTypeListAll`,
      method: 'get',
      params
    })
}



export function limitshopTypeList(params) {
    return request({
      url: `/merchant/equity/card/industry/fee/v1/shopTypeList`,
      method: 'get',
      params
    })
  }


